<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> 
<%
String path = request.getContextPath();  
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
             
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 
<html>
  <head>
    <base href="<%=basePath%>"> 
    
     <title>博客登录</title>
    
     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<meta name='robots' content='noindex,follow' />
    <meta name="viewport" content="width=device-width" />
    
	<link rel="stylesheet" href="static/plugin/font-awesome/css/font-awesome.min.css">
    <link rel="shortcut icon" href="static/img/logo.png">
    <link rel='stylesheet' id='dashicons-css'  href='static/plugin/login/dashicons.min.css' type='text/css' media='all' />
    <link rel='stylesheet' id='buttons-css'  href='static/plugin/login/buttons.min.css' type='text/css' media='all' />
    <link rel='stylesheet' id='forms-css'  href='static/plugin/login/forms.min.css' type='text/css' media='all' />
    <link rel='stylesheet' id='l10n-css'  href='static/plugin/login/l10n.min.css' type='text/css' media='all' />
    <link rel='stylesheet' id='login-css'  href='static/plugin/login/login.min.css' type='text/css' media='all' />
     <link rel='stylesheet'  href='static/css/login.css' type='text/css' media='all' />
  </head>
  
  <body class="login login-action-login wp-core-ui  locale-zh-cn">
<div id="login">
    <br /> <br /> 
    <form name="loginForm" id="loginForm" action="user/login"  method="post">
        <p>
            <label for="user_login">用户名或电子邮件地址<br />
                <input type="text" name="userName" id="user_login" class="input" value="admin" size="20" required/></label>
        </p>
        <p>
            <label for="user_pass">密码<br />
                <input type="password" name="userPass" id="user_pass" class="input" value="123456" size="20" required/>
            </label>
        </p>
        <p class="forgetmenot"><label for="rememberme"><input name="rememberme" type="checkbox" id="rememberme" value="1" checked /> 记住密码</label></p>
        <p class="submit">
            <input type="submit" name="wp-submit" id="submit-btn" class="button button-primary button-large" value="登录" />
        </p>
    </form>

    <p id="backtoblog"><a href="#">&larr; 去往博客前台</a></p>

</div>


<div class="clear"></div>
<script type="text/javascript">
	var msg="${msg}";
	if(msg!=""){
	alert(msg);
	}
	</script>
</body>
</html>